<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>融资服务</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="./css/base.css">
</head>

<body>
    <!-- 首页 HTML 代码 -->
    <header>
        <div class="flex_bgc flex-between-center">
            <div id="header-Logo">
                <p>湖南省科技金融服务</p>
                <p>中心线上平台</p>
            </div>
            <ul class="layui-nav" style="background-color: #001A4D;">
                <li class="layui-nav-item"><a href="./index.html">首页</a></li>
                <li class="layui-nav-item layui-this"><a href="javaScript:;">融资服务</a></li>
                <li class="layui-nav-item"><a href="./financialProducts.html">金融产品</a></li>
                <li class="layui-nav-item"><a href="./financialInstitution.html">金融机构</a></li>
                <li class="layui-nav-item"><a href="./innovation.html">科技创新板块</a></li>
                <li class="layui-nav-item"><a href="./technologyService.html">科技服务</a></li>
                <li class="layui-nav-item"><a href="./policyGuidelines.html">政策指南</a></li>
                <li class="layui-nav-item"><a href="./innovationInformation.html">创新咨询</a></li>
                <li class="layui-nav-item"><a href="./resourceServices.html">资源服务</a></li>
                <li class="layui-nav-item"><a href="./aboutUs.html">关于我们</a></li>
            </ul>
        </div>
    </header>
    <main>
        <div class="main-top">
            <h1 style="font-size: 30px;">融资服务</h1>
            <div class="flex-center-center" style="margin-top: 40px;">
                <div class="inputWidth"><input type="text" class="baseInput"></div>
                <button type="button" class="layui-btn layui-btn-normal">
                    <i class="layui-icon layui-icon-search"></i> 搜索
                </button>
                <button type="button" class="layui-btn layui-btn-normal">
                    发布需求
                </button>
            </div>
        </div>
        <div class="main-padding">
            <div class="main-tab">
                <ul style="margin-bottom: 20px;">
                    <li>全部</li>
                    <li>债权融资服务</li>
                    <li>股权融资服务</li>
                    <li>科技保险服务</li>
                    <li>上市融资服务</li>
                </ul>
                <ul>
                    <li>全部</li>
                    <li>软件</li>
                    <li>信息服务</li>
                    <li>集成电路即电子元件</li>
                    <li>网络与通信</li>
                </ul>
            </div>
        </div>
        <div class="main-padding">
            <div class="flex-between main-content" style="flex-wrap: wrap;">
                <div class="main-content_box" onclick="pageDetailClick()">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
                <div class="main-content_box" onclick="pageDetailClick()">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
                <div class="main-content_box">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
                <div class="main-content_box">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
                <div class="main-content_box">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
                <div class="main-content_box">
                    <div class="flex-between main-content_box-top">
                        <p>醴陵某建设新项目200万融资需求</p>
                        <p style="color: #f39f22;font-size: 24px;">200万</p>
                    </div>
                    <div>
                        <p style="margin-bottom: 20px;"><span>类型 </span>债权融资服务</p>
                        <p style="margin-bottom: 10px;"><span>领域 </span>先进制造与装备</p>
                        <div class="flex-between-center">
                            <p><span>单位 </span>******单位</p>
                            <button type="button" class="layui-btn" style="width: 30%;">查看详情</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="flex-flexEnd paging">
                <div id="pageDom"></div>
            </div>
        </div>
    </main>
    <footer>
        <div class="footer-box">
            <div class="footer-left flex-between">
                <p>帮助</p>
                <p>隐私</p>
                <p>条款</p>
            </div>
            <div class="footer-right flex-between">
                <p>copyright</p>
                <p>©ICP备案： 湘ICP备19020675号-1</p>
            </div>
        </div>
    </footer>
</body>
<script src="./layui/layui.js"></script>
<script>
    //触发
    layuiClick()

    //方法
    function layuiClick() {
        //分页
        layui.use('laypage', function () {
            var laypage = layui.laypage;
            //执行一个laypage实例
            laypage.render({
                elem: 'pageDom',
                limit: 6, //每页几条数据
                count: 70, //数据总数，从服务端得到
                limits: [6, 12, 18],  //每页条数的选择项
                layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip'],
                jump: function (obj, first) {
                    //obj包含了当前分页的所有参数，比如：
                    console.log(obj.curr); //得到当前页，以便向服务端请求对应页的数据。
                    console.log(obj.limit); //得到每页显示的条数
                    //首次不执行
                    if (!first) {
                        layer.msg('第' + obj.curr + '页', { offset: 'b' });
                    }
                }
            });
        });
    }
    function pageDetailClick() {
        location.href = './components/financingDetail.html?pageIndex=1'
    }
</script>
<style scoped>
    .main-padding {
        margin: 0 12% 20px;
    }

    /* 内容标题头部 */
    .main-top {
        text-align: center;
        margin: 80px 0;
    }

    .main-tab {
        background-color: #fff;
        padding: 20px 30px;
    }

    .main-tab ul {
        display: flex;
    }

    .main-tab ul li {
        margin: 10px 20px;
    }

    /*  */
    .main-content {
        /* margin: 30px 0; */
    }

    .main-content_box {
        width: 49%;
        padding: 20px;
        margin-bottom: 30px;
        font-size: 16px;
        background-color: #fff;
    }

    .main-content_box-top {
        margin-bottom: 20px;
        font-size: 20px;
    }
</style>

</html>